<div class="mask">
    <div>
        <div class="tip"></div>
        <div class="operation">
            <div class="cancel">取消</div>
            <div class="btn">确定</div>
        </div>
        
    </div>
</div>
<!-- 加载中的loding -->
<div class="loding">
    <img src="../static/img/Loading.png" alt=""/>
    <p>拼命加载中...</p>
</div>
<div class="prompt"></div>
<script>
    var btn=document.querySelector(".mask .btn");
    var cancel=document.querySelector(".mask .cancel");
    var mask=document.querySelector(".mask");
    btn.onclick=function(){
        mask.style.display="none";
    }
    cancel.onclick=function(){
        mask.style.display="none";
        return;
    }
</script>